Skip to content
Hifumi's Study NotesnotesProbability and StatisticsBayes Rule

%% probability %%

Bayes Rule

Tags
PAS
Cegep/2
Word count
105 words
Reading time
1 minute
P(A|B)=P(A)P(B|A)P(B)

Examples

Three machines, A, B and C, are responsible for 50, 30 and 20 percent of the total production of a given item, respectively. The machines have defective rates of 2, 4 and 6 percent, respectively. An item is randomly selected from the lot. If it is defective, find the probability that it was produced by machine A.

P(D)=P(D|A)P(A)+P(D|B)P(B)+P(D|C)P(C)=0.020.5+0.040.3+0.060.2=0.034P(A|D)=P(A)P(D|A)P(D)=0.50.020.0340.2941

Contributors

Changelog